<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<c:set value="recruit" var="moduleName" scope="request" />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<title>申请基本信息列表</title>
	</head>
	<body>
		<form action="<c:url value='/recruit/applyBase.do'/>" method="post">
			<div class="right-opertion">
				<input type="button" value="搜索" onclick="search(this);" class="button" />
			</div>
			<br />
			<table class="table-layout">
				<tr class="tr-thead">
					<th>
						ID
					</th>
					<th>
						<a href="javascript:void(0);" onclick="javascript:sort('isSubmitted',this)">是否已提交</a>
					</th>
					<th>
						操作
					</th>
				</tr>
				<logic:present name="page">
				<logic-el:iterate name="page" property="result" id="applyBase" indexId="index">
					<tr class="<c:if test="${index % 2 == 0}">tr-odd</c:if><c:if test="${index % 2 == 1}">tr-even</c:if>">
						<td>
							<c:out value="${applyBase.id}" />
							&nbsp;
						</td>
						<td>
							<a href="<c:url value='applyBase.do?method=view&id=${applyBase.id}'/>"><c:out value="${applyBase.isSubmitted}" /></a>
							&nbsp;
						</td>
						<td>
							<a href="<c:url value='applyBase.do?method=edit&id=${applyBase.id}'/>">修改</a>&nbsp;
							<span class="link" onclick="if(confirm('确定要删除该记录吗？')) location.href='<c:url value='applyBase.do?method=erase&id=${applyBase.id}'/>'">删除</span>&nbsp;
						</td>
					</tr>
				</logic-el:iterate>
				</logic:present>
			</table>
			<page:page name="page" />
		</form>
		<br />
		<div class="center-opertion">
			<input type="button" onclick="location.href='<c:url value='applyBase.do?method=edit'/>'" value="添加" />&nbsp;&nbsp;
		</div>
	</body>
</html>
